﻿using M_Quality.Domain;

using Microsoft.EntityFrameworkCore;

namespace M_Quality.Repository
{
    public class MyDbcontract : DbContext
    {
     
        public MyDbcontract(DbContextOptions options) : base(options)
        {
        }

        public DbSet<Qualitygroup> Qualitygroups { get; set; }
        public DbSet<Qualityinspection> Qualityinspection { get; set; }
        public DbSet<QualityPlan> QualityPlan { get; set; }
        public DbSet<Qualityprogram> Qualityprogram { get; set; }
        public DbSet<QIQPRelation> QIQPRelation { get; set; }
        public DbSet<RawMaterialQuality> RawMaterialQuality { get; set; }
        public DbSet<Reinspection> Reinspection { get; set; }
    }
}
